package org.example.framework.register;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shenguangyang
 */
public class LocalRegister {
    private static final Map<String, Class<?>> map = new HashMap<>();

    public static void register(String interfaceName, String version, Class<?> implClass) {
        map.put(interfaceName + version, implClass);
    }
    public static Class<?> get(String interfaceName, String version) {
        return map.get(interfaceName + version);
    }
}
